package com.jinmdz.fmis.mapper.entity;

import com.jinmdz.fmis.mapper.annotation.MyColumn;
import com.jinmdz.fmis.mapper.annotation.MyTable;
import com.jinmdz.fmis.mapper.base.BaseEntity;


/**
 * 业务系统角色Entity
 *
 * @author generator
 * @date 2020-03-18 15:10
 */
@MyTable(value = "BusinessSystemRoleEntity", name = "business_system_role", comment = "业务系统角色")
public class BusinessSystemRoleEntity extends BaseEntity {
    /**
     * 业务系统主键
     */
    @MyColumn(value = "businessSystemId", name = "business_system_id", comment = "业务系统主键", required = true)
    private Integer businessSystemId;

    /**
     * 角色编码
     */
    @MyColumn(value = "roleCode", name = "role_code", comment = "角色编码", required = true)
    private String roleCode;

    /**
     * 角色名称
     */
    @MyColumn(value = "roleName", name = "role_name", comment = "角色名称", required = true)
    private String roleName;

    /**
     * 角色分类
     */
    @MyColumn(value = "roleTypeCode", name = "role_type_code", comment = "角色分类", required = true)
    private Integer roleTypeCode;

    /**
     * 禁用状态
     */
    @MyColumn(value = "disableState", name = "disable_state", comment = "禁用状态", required = true)
    private Integer disableState;

    /**
     * 排序
     */
    @MyColumn(value = "sort", name = "sort", comment = "排序", required = true)
    private Integer sort;

    /**
     * 备注
     */
    @MyColumn(value = "remark", name = "remark", comment = "备注")
    private String remark;


    public Integer getBusinessSystemId() {
        return businessSystemId;
    }

    public BusinessSystemRoleEntity setBusinessSystemId(Integer businessSystemId) {
        this.businessSystemId = businessSystemId;
        return this;
    }

    public String getRoleCode() {
        return roleCode;
    }

    public BusinessSystemRoleEntity setRoleCode(String roleCode) {
        this.roleCode = roleCode;
        return this;
    }

    public String getRoleName() {
        return roleName;
    }

    public BusinessSystemRoleEntity setRoleName(String roleName) {
        this.roleName = roleName;
        return this;
    }

    public Integer getRoleTypeCode() {
        return roleTypeCode;
    }

    public BusinessSystemRoleEntity setRoleTypeCode(Integer roleTypeCode) {
        this.roleTypeCode = roleTypeCode;
        return this;
    }

    public Integer getDisableState() {
        return disableState;
    }

    public BusinessSystemRoleEntity setDisableState(Integer disableState) {
        this.disableState = disableState;
        return this;
    }

    public Integer getSort() {
        return sort;
    }

    public BusinessSystemRoleEntity setSort(Integer sort) {
        this.sort = sort;
        return this;
    }

    public String getRemark() {
        return remark;
    }

    public BusinessSystemRoleEntity setRemark(String remark) {
        this.remark = remark;
        return this;
    }
}